package com.hd.pzhwlxt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hd.pzhwlxt.pojo.StaffBasicInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
@create: 2022-09-20 14:28
@author: 怀念天空
@Description: 
*/

public interface StaffBasicInfoMapper extends BaseMapper<StaffBasicInfo> {
    StaffBasicInfo getStaffInfoById(@Param("id") Integer id);

    List<StaffBasicInfo> getStaffByDepartAndPower(@Param("depart") String depart, @Param("power") Integer power);

    Page<StaffBasicInfo> getAllStaffInfoPage(@Param("page") Page<Object> page);

    List<StaffBasicInfo> getAllStaffInfo();
}